package cn.dzhy.myzf.qq.email.model;

import java.io.Serializable;

public class UserStatus implements Serializable {


    /**
     * 成员帐号
     * */
    private String user;

    /**
     * 帐号类型。-1:帐号号无效; 0:帐号名未被占用; 1:主帐号; 2:别名帐号; 3:邮件群组帐号
     * */
    private int type;

    protected UserStatus(){};

    public UserStatus(String user, int type) {
        this.user = user;
        this.type = type;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "UserStatus{" +
                "user='" + user + '\'' +
                ", type=" + type +
                '}';
    }
}
